﻿using System;
using Newtonsoft.Json;

namespace InterfaceLiftLib.Models
{
    public class CameraLens
    {
        [JsonProperty("id")]
        public int Id { get; protected set; }

        [JsonProperty("brand")]
        public string Brand { get; protected set; }

        [JsonProperty("model")]
        public string Model { get; protected set; }

        [JsonProperty("mount")]
        public string Mount { get; protected set; }

        [JsonProperty("max_format_size")]
        public string MaxFormatSize { get; protected set; }

        [JsonProperty("focal_length")]
        public double FocalLength { get; protected set; }

        [JsonProperty("focal_length_tele")]
        public double FocalLengthTele { get; protected set; }

        [JsonProperty("max_aperture")]
        public double MaxAperture { get; protected set; }

        [JsonProperty("max_aperture_tele")]
        public double MaxApertureTele { get; protected set; }

        [JsonProperty("max_magnification")]
        public double MaxMagnification { get; protected set; }

        [JsonProperty("min_focus")]
        public double MinFocus { get; protected set; }

        [JsonProperty("filter_thread")]
        public double FilterThread { get; protected set; }

        [JsonProperty("reach")]
        public string Reach { get; protected set; }

        [JsonProperty("date_introduced")]
        public DateTime DateIntroduced { get; protected set; }

        [JsonProperty("url_amazon")]
        public string AmazonUrl { get; protected set; }
    }
}
